/**
 *
 * The LCD1602 abstraction for FLY4000 board
 *
 * @author Jiashu Lin
 */


configuration Lcd1602C {
  provides interface Lcd1602;
  provides interface Init;
}
implementation {
  components Lcd1602P, PlatformLcdC;
  components BusyWait32khzC;

  Lcd1602 = Lcd1602P.Lcd1602;
  Init = Lcd1602P.Init;

  Lcd1602P.Init <- PlatformLcdC.Init;
  Lcd1602P.RS -> PlatformLcdC.RS;
  Lcd1602P.RW -> PlatformLcdC.RW;
  Lcd1602P.E -> PlatformLcdC.E;
  Lcd1602P.D0 -> PlatformLcdC.D0;
  Lcd1602P.D1 -> PlatformLcdC.D1;
  Lcd1602P.D2 -> PlatformLcdC.D2;
  Lcd1602P.D3 -> PlatformLcdC.D3;
  Lcd1602P.D4 -> PlatformLcdC.D4;
  Lcd1602P.D5 -> PlatformLcdC.D5;
  Lcd1602P.D6 -> PlatformLcdC.D6;
  Lcd1602P.D7 -> PlatformLcdC.D7;

  Lcd1602P.Delay -> BusyWait32khzC;
}

